#include <stdio.h>
#include <unistd.h>

int main()
{
    pid_t ret  = fork();
    if(ret < 0){
        return 0;
    }else if(ret == 0){
        printf("i am child\n");
    }else{
        printf("i am father\n");
    }
    return 0;
}
